package cn.exrick.xboot.base.vo

import com.baomidou.mybatisplus.annotation.FieldFill
import com.baomidou.mybatisplus.annotation.TableField
import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*


@ApiModel("政府部门用户列表")
data class DepartmentUserVo(


        @ApiModelProperty("id")
        var id: String? = "",

        @ApiModelProperty(value = "用户名")
        var accountName: String? = null,

        @ApiModelProperty(value = "登录代码")
        var unitCode: String? = null,

        @ApiModelProperty("区域id")
        var areaId: String? = null,

        @ApiModelProperty("监管部门等级")
        var userLevel: Int? = null,

        @ApiModelProperty("监管部门等级名称")
        var userLevelName: String? = "",

        @ApiModelProperty("区域名字")
        var areaName: String? = null,

        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "创建时间", hidden = true)
        var createTime: Date? = null

)